package com.pcbly.web.bean.workflow;
 
import java.util.Set;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;


/** @author Hibernate CodeGenerator */
@SuppressWarnings("unchecked")
public class WorkflowCategoryBean extends AbstractBaseBean {

    /**
	 * 
	 */
	private static final long serialVersionUID = 7335859431275470060L; 

    
    private String categoryName;

    
    private String description;

    
    private Integer index;

    
    
	private Set workflows; 
    /** default constructor */
    public WorkflowCategoryBean() {
    }  

    public String getCategoryName() {
        return this.categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getIndex() {
        return this.index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public Set getWorkflows() {
        return this.workflows;
    }

    public void setWorkflows(Set workflows) {
        this.workflows = workflows;
    }

    /**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}
